package com.example.service;

import com.example.entity.mes.Unit;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.common.result.Result;

/**
* @author 14501
* @description 针对表【unit】的数据库操作Service
* @createDate 2024-03-04 14:48:29
*/
public interface UnitService extends IService<Unit> {
    Result queryUnit(Long id, String name, String status);
    Result queryUnitById(Long id);
    Result deleteUnit(Long id);
    Result updateUnit(Unit unit);
    Result insertUnit(Unit unit);
    Result queryUnitList(String name);
}
